<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class ExitControl extends Controller
{
    public function exit1(Request $request)
    {

        $request->session()->flush();
        return redirect('/notice')->with(['message'=>'退出成功','url' =>'home/login', 'jumpTime'=>3,'status'=>true]);
    }
}
